package com.java.permission.common.dao.entity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
/**
 * <p>
 * 角色 菜单权限关联表
 * </p>
 *
 * @author huxb
 * @since 2020-06-18
 */
public class SysRoleMenuPermissionDetail extends Model<SysRoleMenuPermissionDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 菜单权限id
     */
    private String menuPermissionId;

    /**
     * 应用id
     */
    private String appId;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 创建人
     */
    private String createBy;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuPermissionId() {
        return menuPermissionId;
    }

    public void setMenuPermissionId(String menuPermissionId) {
        this.menuPermissionId = menuPermissionId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public LocalDateTime getCreateAt() {
        return createAt;
    }

    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "SysRoleMenuPermissionDetail{" +
        ", id=" + id +
        ", roleId=" + roleId +
        ", menuPermissionId=" + menuPermissionId +
        ", appId=" + appId +
        ", createAt=" + createAt +
        ", createBy=" + createBy +
        "}";
    }
}
